upgrade: Add --override-commit=CHECKSUM option
authorMatthew Barnes <mbarnes@redhat.com>
Tue, 6 Oct 2015 15:33:18 +0000 (11:33 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Tue, 13 Oct 2015 16:34:57 +0000 (12:34 -0400)
commit2210a79bfa10f4a29113ee78f33300cea254715b
tree4cab36c13f1c01274483de85ba4ab8ab9e27d5f6
parent39b732ffaab5b95169448c911844fcf969a288d1
upgrade: Add --override-commit=CHECKSUM option

Adds an entry to the origin file to force the OstreeSysrootUpgrader to
pull and deploy the given checksum.

  [origin]
  override-commit=CHECKSUM

If the option is not given, any such entry is explicitly removed from
the origin file to ensure we upgrade to the latest available commit.
doc/ostree-admin-upgrade.xml
src/ostree/ot-admin-builtin-upgrade.c
tests/admin-test.sh